
{% block form_row %}
{% spaceless %}
<div class="form-row form-2-tab">
    <div class="span12">
        <div class="row-fluid">
            {% block form_label %}
    {% spaceless %}
                {% set label_attr = label_attr|merge({'class': (label_attr.class|default('form-label span6'))}) %}
                
    {% if not compound %}
        {% set label_attr = label_attr|merge({'for': id}) %}
    {% endif %}
    {% if required %}
        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
    {% endif %}
    {% if label is empty %}
        {% set label = name|humanize %}
    {% endif %}
                <label style="float: left;text-align: left;" {% for attrname, attrvalue in label_attr %} {{ attrname }}="{{ attrvalue }}"{% endfor %}>{{ label|trans({}, translation_domain) }} :{% if required %}
                <span class="etoil-requered" title="Ce champ est obligatoire">*</span>
    {% endif %}</label>
{% endspaceless %}

    
{% endblock %}
              {{form_widget(form,{'attr':{'style':'width: 50%;','class':'span4'}})}}
            {% block form_errors %}
{% spaceless %}
    {% if errors|length > 0 %}
<label class="error">
        {% for error in errors %}
            {{
                error.messagePluralization is null
                    ? error.messageTemplate|trans(error.messageParameters, 'validators')
                    : error.messageTemplate|transchoice(error.messagePluralization, error.messageParameters, 'validators')
            }}  
        {% endfor %}
    </label>
    {% endif %}
{% endspaceless %}
{% endblock form_errors %}
               
            </div>
        </div>
    </div>
{% endspaceless %}
{% endblock form_row %}

    